
<%@ page import="duylinh.NguyenCong" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'nguyenCong.label', default: 'NguyenCong')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-nguyenCong" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-nguyenCong" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list nguyenCong">
                <g:if test="${nguyenCongInstance?.ten}">
                    <li class="fieldcontain">
                        <span id="ten-label" class="property-label"><g:message code="nguyenCong.ten.label" default="Ten" /></span>

                        <span class="property-value" aria-labelledby="ten-label"><g:fieldValue bean="${nguyenCongInstance}" field="ten"/></span>

                    </li>
                </g:if>
				<g:if test="${nguyenCongInstance?.toSanXuat}">
				<li class="fieldcontain">
					<span id="donvi-label" class="property-label"><g:message code="nguyenCong.donvi.label" default="Donvi" /></span>
					
						<span class="property-value" aria-labelledby="donvi-label">
                            ${nguyenCongInstance?.toSanXuat?.ten}
                        </span>
					
				</li>
				</g:if>

                <g:if test="${nguyenCongInstance?.may}">
                    <li class="fieldcontain">
                        <span id="may-label" class="property-label"><g:message code="nguyenCong.may.label" default="May" /></span>

                        <span class="property-value" aria-labelledby="may-label"><g:fieldValue bean="${nguyenCongInstance}" field="may"/></span>

                    </li>
                </g:if>

                <g:if test="${nguyenCongInstance?.khuanGa}">
                    <li class="fieldcontain">
                        <span id="khuanGa-label" class="property-label"><g:message code="nguyenCong.khuanGa.label" default="Khuan Ga" /></span>

                        <span class="property-value" aria-labelledby="khuanGa-label"><g:fieldValue bean="${nguyenCongInstance}" field="khuanGa"/></span>

                    </li>
                </g:if>

                <g:if test="${nguyenCongInstance?.motaNhanCong}">
                    <li class="fieldcontain">
                        <span id="motaNhanCong-label" class="property-label"><g:message code="nguyenCong.motaNhanCong.label" default="Mota Nhan Cong" /></span>

                        <span class="property-value" aria-labelledby="motaNhanCong-label"><g:fieldValue bean="${nguyenCongInstance}" field="motaNhanCong"/></span>

                    </li>
                </g:if>

                <g:if test="${nguyenCongInstance?.soLuongMay}">
                    <li class="fieldcontain">
                        <span id="soLuongMay-label" class="property-label"><g:message code="nguyenCong.soLuongMay.label" default="So Luong May" /></span>

                        <span class="property-value" aria-labelledby="soLuongMay-label"><g:fieldValue bean="${nguyenCongInstance}" field="soLuongMay"/></span>

                    </li>
                </g:if>

                <g:if test="${nguyenCongInstance?.soLuongNhanCong}">
                    <li class="fieldcontain">
                        <span id="soLuongNhanCong-label" class="property-label"><g:message code="nguyenCong.soLuongNhanCong.label" default="So Luong Nhan Cong" /></span>

                        <span class="property-value" aria-labelledby="soLuongNhanCong-label"><g:fieldValue bean="${nguyenCongInstance}" field="soLuongNhanCong"/></span>

                    </li>
                </g:if>
			

				<g:if test="${nguyenCongInstance?.sanluongTB}">
				<li class="fieldcontain">
					<span id="sanluongTB-label" class="property-label"><g:message code="nguyenCong.sanluongTB.label" default="Sanluong TB" /></span>
					
						<span class="property-value" aria-labelledby="sanluongTB-label">
                            <g:fieldValue bean="${nguyenCongInstance}" field="sanluongTB"/>
                            <g:fieldValue bean="${nguyenCongInstance}" field="sanluongTBDV"/>
                        </span>
					
				</li>
				</g:if>



                <g:if test="${nguyenCongInstance?.ghiChu}">
                    <li class="fieldcontain">
                        <span id="ghiChu-label" class="property-label"><g:message code="nguyenCong.ghiChu.label" default="Ghi Chu" /></span>

                        <span class="property-value" aria-labelledby="ghiChu-label"><g:fieldValue bean="${nguyenCongInstance}" field="ghiChu"/></span>

                    </li>
                </g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${nguyenCongInstance?.id}" />
					<g:link class="edit" action="edit" id="${nguyenCongInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
